package com.ljfiction.book.Baner;

public class TaskBean {


    /**
     * returnCode : 200
     * msg : 数据加载成功
     * data : {"everydayTasks":{"subscript":0,"personalCenterTaskAllOK":0,"giveThumbs":0,"signOK":0,"recommendTicketOK":0},"personalCenterTask":{"id":null,"isBindingPhoneOK":3,"isAddBookshelfOK":3,"isFollowAuthorOk":3,"isFirstSubscriptionOK":3,"isFirstReward":3,"userId":17}}
     */

    private int returnCode;
    private String msg;
    private DataBean data;

    public int getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(int returnCode) {
        this.returnCode = returnCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * everydayTasks : {"subscript":0,"personalCenterTaskAllOK":0,"giveThumbs":0,"signOK":0,"recommendTicketOK":0}
         * personalCenterTask : {"id":null,"isBindingPhoneOK":3,"isAddBookshelfOK":3,"isFollowAuthorOk":3,"isFirstSubscriptionOK":3,"isFirstReward":3,"userId":17}
         */

        private EverydayTasksBean everydayTasks;
        private PersonalCenterTaskBean personalCenterTask;

        public EverydayTasksBean getEverydayTasks() {
            return everydayTasks;
        }

        public void setEverydayTasks(EverydayTasksBean everydayTasks) {
            this.everydayTasks = everydayTasks;
        }

        public PersonalCenterTaskBean getPersonalCenterTask() {
            return personalCenterTask;
        }

        public void setPersonalCenterTask(PersonalCenterTaskBean personalCenterTask) {
            this.personalCenterTask = personalCenterTask;
        }

        public static class EverydayTasksBean {
            /**
             * subscript : 0
             * personalCenterTaskAllOK : 0
             * giveThumbs : 0
             * signOK : 0
             * recommendTicketOK : 0
             */

            private int subscript;
            private int personalCenterTaskAllOK;
            private int giveThumbs;
            private int signOK;
            private int recommendTicketOK;

            public int getSubscript() {
                return subscript;
            }

            public void setSubscript(int subscript) {
                this.subscript = subscript;
            }

            public int getPersonalCenterTaskAllOK() {
                return personalCenterTaskAllOK;
            }

            public void setPersonalCenterTaskAllOK(int personalCenterTaskAllOK) {
                this.personalCenterTaskAllOK = personalCenterTaskAllOK;
            }

            public int getGiveThumbs() {
                return giveThumbs;
            }

            public void setGiveThumbs(int giveThumbs) {
                this.giveThumbs = giveThumbs;
            }

            public int getSignOK() {
                return signOK;
            }

            public void setSignOK(int signOK) {
                this.signOK = signOK;
            }

            public int getRecommendTicketOK() {
                return recommendTicketOK;
            }

            public void setRecommendTicketOK(int recommendTicketOK) {
                this.recommendTicketOK = recommendTicketOK;
            }
        }

        public static class PersonalCenterTaskBean {
            /**
             * id : null
             * isBindingPhoneOK : 3
             * isAddBookshelfOK : 3
             * isFollowAuthorOk : 3
             * isFirstSubscriptionOK : 3
             * isFirstReward : 3
             * userId : 17
             */

            private String id;
            private int isBindingPhoneOK;
            private int isAddBookshelfOK;
            private int isFollowAuthorOk;
            private int isFirstSubscriptionOK;
            private int isFirstReward;
            private int userId;

            public String getId() {
                if (id==null){
                    return "wu";
                }
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getIsBindingPhoneOK() {
                return isBindingPhoneOK;
            }

            public void setIsBindingPhoneOK(int isBindingPhoneOK) {
                this.isBindingPhoneOK = isBindingPhoneOK;
            }

            public int getIsAddBookshelfOK() {
                return isAddBookshelfOK;
            }

            public void setIsAddBookshelfOK(int isAddBookshelfOK) {
                this.isAddBookshelfOK = isAddBookshelfOK;
            }

            public int getIsFollowAuthorOk() {
                return isFollowAuthorOk;
            }

            public void setIsFollowAuthorOk(int isFollowAuthorOk) {
                this.isFollowAuthorOk = isFollowAuthorOk;
            }

            public int getIsFirstSubscriptionOK() {
                return isFirstSubscriptionOK;
            }

            public void setIsFirstSubscriptionOK(int isFirstSubscriptionOK) {
                this.isFirstSubscriptionOK = isFirstSubscriptionOK;
            }

            public int getIsFirstReward() {
                return isFirstReward;
            }

            public void setIsFirstReward(int isFirstReward) {
                this.isFirstReward = isFirstReward;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }
        }
    }
}
